import request from './request.js'

// 图像修复
export const repair = (filePath, data) => request.upload('/img/imageRepair/', filePath, data)

// 图像增强
export const enhance = (filePath, data) => request.upload('/img/imageEnhance/', filePath, data)

// 边缘提取
export const border = (filePath, data) => request.upload('/img/borderModel/', filePath, data)

// 图像矢量化
export const vectorize = (filePath, data) => request.upload('/img/vectorize/', filePath, data)

// 抠图
export const koutu = (filePath, data) => request.upload('/img/koutuModel/', filePath, data)

// 图像上色
export const colorize = (filePath, data) => request.upload('/img/imageColorize/', filePath, data)

export const picList = (data) => request.post("/img/picList/", data)